﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace TlToolCordCreate.Mode
{
    /// <summary>
    /// 字段属性
    /// </summary>
    public class FieldProperties
    {
        /// <summary>
        /// 描述
        /// </summary>
        public string Description { get; set; }
        /// <summary>
        /// 字段名称
        /// </summary>
        public string PropertiesName { get; set; }
        /// <summary>
        /// 字段类型
        /// </summary>
        public string PropertiesType { get; set; }
        /// <summary>
        /// 主键
        /// </summary>
        public bool Primarykey { get; set; }
        /// <summary>
        /// 是否自增
        /// </summary>
        public bool IsIdentity { get; set; }
        /// <summary>
        /// 可空
        /// </summary>
        public bool CanNull { get; set; } = true;
        /// <summary>
        /// 长度
        /// </summary>
        public int Lenght { get; set; }
    }
}
